package com.blb.utils;

import lombok.Data;

//**返回的Json格式数据模板
@Data
public class LayUIDataTable {
    private int code;          //返回数据的状态（成功或失败）
    private String msg;        //返回的消息
    private long count;        //数据的条数
    private Object data;       //数据1
    private Object data2;      //数据2
    private Object data3;      //数据3
    private Object data4;       //数据4
    private Object data5;       //数据5
    public LayUIDataTable(int code, String msg, long count, Object data) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
    }
    public LayUIDataTable(int code, String msg, long count, Object data,Object data2) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
        this.data2 = data2;
    }
    public LayUIDataTable(int code, String msg, long count, Object data,Object data2,Object data3) {
        this.code = code;
        this.msg = msg;
        this.count = count;
        this.data = data;
        this.data2 = data2;
        this.data3 = data3;
    }

    public LayUIDataTable() {
    }
}
